<?xml version='1.0' encoding='ISO-8859-1' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:c="http://java.sun.com/jstl/core"
      xmlns:a4j="https://ajax4jsf.dev.java.net/ajax"
      xmlns:rich="http://richfaces.ajax4jsf.org/rich"
      xmlns:jopcc="http://net.sf.jOpinionPoll/tag/component/core">
    <ui:composition template="/pages/publico/template/default.xhtml">
        <ui:define name="titulo">
            <h:outputText value="#{msg['publico.comum.mensagem.titulo']}" />
        </ui:define>
        <ui:define name="corpo">
            <f:view>
                <!-- titulo -->
                <jopcc:simpleTitle text="#{msg['publico.comum.mensagem.titulo']}" styleClass="boxTitulo" lineStyleClass="boxTituloLine" />
                
                <c:if test="${!empty facesContext.maximumSeverity}">
                    <h:messages globalOnly="false" showDetail="true" showSummary="false" styleClass="textoErro"/>
                </c:if>

                <a4j:form>
                    <table>
                        <!-- comandos -->
                        <tr>
                            <td>
                                <input class="button" onclick="javascript:history.go(-1);" type="button" value="#{msg['comum.voltar']}"/>
                            </td>
                            <td>
                                <h:commandButton styleClass="button" action=".publico.inicio.inicio" value="#{msg['comum.cancelar']}"/>
                            </td>
                        </tr>
                    </table>
                </a4j:form>
            </f:view>
        </ui:define>
    </ui:composition>
</html>